package com.erp.hibernate.beans;

import java.util.HashSet;
import java.util.Set;

/**
 * AbstractEmployee entity provides the base persistence definition of the
 * Employee entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractEmployee implements java.io.Serializable {

	// Fields

	private Integer id;
	private Role role;
	private String employeeid;
	private String name;
	private String password;
	private Integer enabled;
	private Set outbills = new HashSet(0);
	private Set inbills = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractEmployee() {
	}

	/** minimal constructor */
	public AbstractEmployee(Role role, String employeeid, String name) {
		this.role = role;
		this.employeeid = employeeid;
		this.name = name;
	}

	/** full constructor */
	public AbstractEmployee(Role role, String employeeid, String name,
			String password, Integer enabled, Set outbills, Set inbills) {
		this.role = role;
		this.employeeid = employeeid;
		this.name = name;
		this.password = password;
		this.enabled = enabled;
		this.outbills = outbills;
		this.inbills = inbills;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public String getEmployeeid() {
		return this.employeeid;
	}

	public void setEmployeeid(String employeeid) {
		this.employeeid = employeeid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getEnabled() {
		return this.enabled;
	}

	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}

	public Set getOutbills() {
		return this.outbills;
	}

	public void setOutbills(Set outbills) {
		this.outbills = outbills;
	}

	public Set getInbills() {
		return this.inbills;
	}

	public void setInbills(Set inbills) {
		this.inbills = inbills;
	}

}